echoframework
Module Contents
alltypes
Module Contents
class AccessSocketOperation : SocketOperation<Int>
enum class AccessSocketOperationType
class Account : GrapheneObject, GrapheneSerializable
class AccountAddressInputValueType : InputValueType
class AccountAddressOutputValueType : AddressOutputValueType
class AccountBalancesSocketOperation : SocketOperation<AssetAmount>
class AccountCreateOperation : BaseOperation
class AccountCreateOperationBuilder : Builder<AccountCreateOperation>
interface AccountHistoryApiService : ApiService, CustomOperationService
class AccountHistoryApiServiceImpl : AccountHistoryApiService
Module Contents
AccountHistoryApiServiceImpl(socketCoreComponent: SocketCoreComponent, network: Network)
fun <T> callCustomOperation(operation: CustomOperation<T>, callback: Callback<T>): Unit
fun <T> callCustomOperation(operation: CustomOperation<T>): Result<LocalException, T>
fun getAccountHistory(accountId: String, start: String, stop: String, limit: Int, callback: Callback<HistoryResponse>): Unit
fun getAccountHistory(accountId: String, start: String, stop: String, limit: Int): Result<Exception, HistoryResponse>
var id: Int
interface AccountListener
class AccountNotFoundException : LocalException
class AccountOptions : GrapheneSerializable
interface AccountsService
Module Contents
abstract fun getAccountDeposits(accountId: String, sidechainType: SidechainType?, callback: Callback<List<Deposit?>>): Unit
abstract fun getAccountsByWif(wifs: List<String>, callback: Callback<Map<String, List<FullAccount>>>): Unit
abstract fun getAccountsByWif(wifs: List<String>): Result<LocalException, Map<String, List<FullAccount>>>
abstract fun getAccountWithdrawals(accountId: String, sidechainType: SidechainType?, callback: Callback<List<Withdraw?>>): Unit
abstract fun getBitcoinAddress(accountId: String, callback: Callback<BtcAddress>): Unit
abstract fun getEthereumAddress(accountId: String, callback: Callback<EthAddress>): Unit
abstract fun getFullAccounts(namesOrIds: List<String>, subscribe: Boolean, callback: Callback<Map<String, FullAccount>>): Unit
abstract fun getFullAccounts(namesOrIds: List<String>, subscribe: Boolean): Result<Exception, Map<String, FullAccount>>
interface AccountSubscriptionManager
class AccountSubscriptionManagerImpl : AccountSubscriptionManager
class AccountUpdateOperation : BaseOperation
class AccountUpdateOperationBuilder : Builder<AccountUpdateOperation>
class Address
class AddressFormatException : IllegalArgumentException
class AddressInputValueType : InputValueType
open class AddressOutputValueType : OutputValueType
enum class Api
interface ApiService
class Asset : GrapheneObject, ByteSerializable
class AssetAmount : GrapheneSerializable
class AssetOptions : JsonSerializable, ByteSerializable
interface AssetsFacade
Module Contents
abstract fun createAsset(name: String, wif: String, asset: Asset, broadcastCallback: Callback<Boolean>, resultCallback: Callback<String>? = null): Unit
abstract fun getAssets(assetIds: List<String>, callback: Callback<List<Asset>>): Unit
abstract fun issueAsset(issuerNameOrId: String, wif: String, asset: String, amount: String, destinationIdOrName: String, callback: Callback<Boolean>): Unit
abstract fun listAssets(lowerBound: String, limit: Int, callback: Callback<List<Asset>>): Unit
abstract fun lookupAssetsSymbols(symbolsOrIds: List<String>, callback: Callback<List<Asset>>): Unit
class AssetsFacadeImpl : BaseTransactionsFacade, AssetsFacade
Module Contents
AssetsFacadeImpl(databaseApiService: DatabaseApiService, networkBroadcastApiService: NetworkBroadcastApiService, cryptoCoreComponent: CryptoCoreComponent, notifiedTransactionsHelper: NotificationsHelper<TransactionResult>)
fun createAsset(name: String, wif: String, asset: Asset, broadcastCallback: Callback<Boolean>, resultCallback: Callback<String>?): Unit
fun getAssets(assetIds: List<String>, callback: Callback<List<Asset>>): Unit
fun issueAsset(issuerNameOrId: String, wif: String, asset: String, amount: String, destinationIdOrName: String, callback: Callback<Boolean>): Unit
fun listAssets(lowerBound: String, limit: Int, callback: Callback<List<Asset>>): Unit
fun lookupAssetsSymbols(symbolsOrIds: List<String>, callback: Callback<List<Asset>>): Unit
interface AssetsService
interface AuthenticationFacade
class AuthenticationFacadeImpl : BaseTransactionsFacade, AuthenticationFacade
Module Contents
AuthenticationFacadeImpl(databaseApiService: DatabaseApiService, networkBroadcastApiService: NetworkBroadcastApiService, registrationApiService: RegistrationApiService, cryptoCoreComponent: CryptoCoreComponent, notificationsHelper: NotificationsHelper<RegistrationResult>)
fun changeKeys(name: String, oldWif: String, newWif: String, callback: Callback<Any>): Unit
fun isOwnedBy(nameOrId: String, wif: String, callback: Callback<FullAccount>): Unit
fun register(userName: String, wif: String, callback: Callback<Boolean>): Unit
interface AuthorityAndValidationService
data class Balance
object Base58
abstract class BaseOperation : ByteSerializable, JsonSerializable
abstract class BaseTransactionsFacade
Module Contents
BaseTransactionsFacade(databaseApiService: DatabaseApiService, cryptoCoreComponent: CryptoCoreComponent)
protected fun checkOwnerAccount(wif: String, account: Account): Unit
protected fun configureTransaction(transfer: BaseOperation, privateKey: ByteArray, asset: String, feeAsset: String?): Transaction
protected fun getChainId(): String
protected fun getContractFees(operations: List<BaseOperation>, assetId: String): List<ContractFee>
protected fun getFees(operations: List<BaseOperation>, asset: Asset = Asset(ECHO_ASSET_ID)): List<AssetAmount>
protected fun getFees(operations: List<BaseOperation>, assetId: String): List<AssetAmount>
protected fun getParticipantsPair(fromNameOrId: String, toNameOrId: String): Pair<Account, Account>
class BitassetOptions : GrapheneSerializable
interface BitcoinSidechainFacade
Module Contents
abstract fun btcWithdraw(accountNameOrId: String, wif: String, btcAddress: String, value: String, feeAsset: String, broadcastCallback: Callback<Boolean>, resultCallback: Callback<TransactionResult>?): Unit
abstract fun generateBitcoinAddress(accountNameOrId: String, wif: String, backupAddress: String, broadcastCallback: Callback<Boolean>, resultCallback: Callback<TransactionResult>?): Unit
abstract fun getBitcoinAddress(accountNameOrId: String, callback: Callback<BtcAddress>): Unit
class BitcoinSidechainFacadeImpl : BaseTransactionsFacade, BitcoinSidechainFacade
Module Contents
BitcoinSidechainFacadeImpl(databaseApiService: DatabaseApiService, networkBroadcastApiService: NetworkBroadcastApiService, cryptoCoreComponent: CryptoCoreComponent, notifiedTransactionsHelper: NotificationsHelper<TransactionResult>)
fun btcWithdraw(accountNameOrId: String, wif: String, btcAddress: String, value: String, feeAsset: String, broadcastCallback: Callback<Boolean>, resultCallback: Callback<TransactionResult>?): Unit
fun generateBitcoinAddress(accountNameOrId: String, wif: String, backupAddress: String, broadcastCallback: Callback<Boolean>, resultCallback: Callback<TransactionResult>?): Unit
fun getBitcoinAddress(accountNameOrId: String, callback: Callback<BtcAddress>): Unit
class Block
Module Contents
Block(previous: String, round: String, timestamp: String, account: Account, delagate: Account, transactionMerkleRoot: String, rand: String, edSignature: String, transactions: List<Transaction>, vmRoot: List<String>, prevSignatures: List<PrevSignature>)
var account: Account
class BlockDeserializer : JsonDeserializer<Block>
var delagate: Account
var edSignature: String
var previous: String
var prevSignatures: List<PrevSignature>
var rand: String
var round: String
var timestamp: String
var transactionMerkleRoot: String
var transactions: List<Transaction>
var vmRoot: List<String>
class BlockData : ByteSerializable
class BlockDataSocketOperation : SocketOperation<DynamicGlobalProperties>
class BlockRewardOperation : BaseOperation
interface BlocksAndTransactionsService
interface BlockSubscriptionManager
class BlockSubscriptionManagerImpl : BlockSubscriptionManager
class BooleanInputValueType : InputValueType
class BooleanOutputValueType : NumberOutputValueType
data class BtcAddress
interface ByteSerializable
class BytesInputValueType : InputValueType
interface Callback<T>
class CancelAllSubscriptionsSocketOperation : SocketOperation<Boolean>
interface Cancellable
interface CancellableFuture<T> : Cancellable, Future<T>
open class CancellableTask : Cancellable
class CheckERC20TokenSocketOperation : SocketOperation<Boolean>
object Checksum
interface CommonSidechainFacade
class CommonSidechainFacadeImpl : CommonSidechainFacade
class Contract : GrapheneObject, GrapheneSerializable
class ContractAddressInputValueType : InputValueType
class ContractAddressOutputValueType : AddressOutputValueType
class ContractBalance : GrapheneObject
interface ContractBalancesSubscriptionManager
class ContractBalancesSubscriptionManagerImpl : ContractBalancesSubscriptionManager
class ContractCallOperation : ContractOperation
class ContractCallOperationBuilder : Builder<ContractCallOperation>
class ContractCodeBuilder : Builder<String>
class ContractCodeConverter : Converter<ContractMethodParameter, String>
class ContractCreateOperation : ContractOperation
class ContractCreateOperationBuilder : Builder<ContractCreateOperation>
class ContractFee
class ContractInfo : GrapheneObject
class ContractInputEncoder
sealed class ContractLog
class ContractMethod
class ContractMethodParameter : Serializable
abstract class ContractOperation : BaseOperation
class ContractOutputDecoder
class ContractResult
class ContractResultLog
class ContractResultx86
interface ContractsFacade
Module Contents
abstract fun callContract(userNameOrId: String, wif: String, assetId: String, feeAsset: String?, contractId: String, methodName: String, methodParams: List<InputValue>, value: String = BigInteger.ZERO.toString(), broadcastCallback: Callback<Boolean>, resultCallback: Callback<String>? = null): Unit
abstract fun callContract(userNameOrId: String, wif: String, assetId: String, feeAsset: String?, contractId: String, code: String, value: String = BigInteger.ZERO.toString(), broadcastCallback: Callback<Boolean>, resultCallback: Callback<String>? = null): Unit
abstract fun createContract(registrarNameOrId: String, wif: String, value: String = BigInteger.ZERO.toString(), assetId: String, feeAsset: String?, byteCode: String, params: List<InputValue> = listOf(), broadcastCallback: Callback<Boolean>, resultCallback: Callback<String>? = null): Unit
abstract fun getContract(contractId: String, callback: Callback<ContractStruct>): Unit
abstract fun getContractLogs(contractId: String, fromBlock: String, toBlock: String, callback: Callback<List<ContractLog>>): Unit
abstract fun getContractResult(historyId: String, callback: Callback<ContractResult>): Unit
abstract fun getContracts(contractIds: List<String>, callback: Callback<List<ContractInfo>>): Unit
abstract fun queryContract(userNameOrId: String, assetId: String, amount: String, contractId: String, methodName: String, methodParams: List<InputValue>, callback: Callback<String>): Unit
abstract fun queryContract(userNameOrId: String, assetId: String, amount: String, contractId: String, code: String, callback: Callback<String>): Unit
class ContractsFacadeImpl : BaseTransactionsFacade, ContractsFacade
Module Contents
ContractsFacadeImpl(databaseApiService: DatabaseApiService, networkBroadcastApiService: NetworkBroadcastApiService, cryptoCoreComponent: CryptoCoreComponent, notifiedTransactionsHelper: NotificationsHelper<TransactionResult>, feeRatioProvider: Provider<Double>)
fun callContract(userNameOrId: String, wif: String, assetId: String, feeAsset: String?, contractId: String, methodName: String, methodParams: List<InputValue>, value: String, broadcastCallback: Callback<Boolean>, resultCallback: Callback<String>?): Unit
fun callContract(userNameOrId: String, wif: String, assetId: String, feeAsset: String?, contractId: String, code: String, value: String, broadcastCallback: Callback<Boolean>, resultCallback: Callback<String>?): Unit
fun createContract(registrarNameOrId: String, wif: String, value: String, assetId: String, feeAsset: String?, byteCode: String, params: List<InputValue>, broadcastCallback: Callback<Boolean>, resultCallback: Callback<String>?): Unit
fun getContract(contractId: String, callback: Callback<ContractStruct>): Unit
fun getContractLogs(contractId: String, fromBlock: String, toBlock: String, callback: Callback<List<ContractLog>>): Unit
fun getContractResult(historyId: String, callback: Callback<ContractResult>): Unit
fun getContracts(contractIds: List<String>, callback: Callback<List<ContractInfo>>): Unit
fun queryContract(userNameOrId: String, assetId: String, amount: String, contractId: String, methodName: String, methodParams: List<InputValue>, callback: Callback<String>): Unit
fun queryContract(userNameOrId: String, assetId: String, amount: String, contractId: String, code: String, callback: Callback<String>): Unit
interface ContractsService
Module Contents
abstract fun callContractNoChangingState(contractId: String, registrarNameOrId: String, assetId: String, amount: String, byteCode: String): Result<LocalException, String>
abstract fun getContract(contractId: String): Result<LocalException, ContractStruct>
abstract fun getContractLogs(contractId: String, fromBlock: String, toBlock: String): Result<LocalException, List<ContractLog>>
abstract fun getContractResult(historyId: String): Result<LocalException, ContractResult>
abstract fun getContracts(contractIds: List<String>): Result<LocalException, List<ContractInfo>>
class ContractStruct
interface ContractSubscriptionManager
class ContractSubscriptionManagerImpl : ContractSubscriptionManager
class ContractTransferOperation : BaseOperation
enum class ContractType
interface Converter<I, O>
class CreateAssetOperation : BaseOperation
interface CryptoApiService : ApiService, CustomOperationService
class CryptoApiServiceImpl : CryptoApiService
interface CryptoCoreComponent
class CryptoCoreComponentImpl : CryptoCoreComponent
interface CurrentBlockchainDataSubscriptionManager
class CurrentBlockchainDataSubscriptionManagerImpl : CurrentBlockchainDataSubscriptionManager
class CurrentFees
abstract class CustomOperation<T> : JsonDeserializable<T>
interface CustomOperationService
class CustomSocketOperation<T> : SocketOperation<T>
interface DatabaseApiService : ApiService, AccountsService, GlobalsService, AuthorityAndValidationService, BlocksAndTransactionsService, ContractsService, AssetsService, SubscriptionService, ObjectsService, CustomOperationService, SidechainService
class DatabaseApiServiceImpl : DatabaseApiService
Module Contents
DatabaseApiServiceImpl(socketCoreComponent: SocketCoreComponent, cryptoCoreComponent: CryptoCoreComponent, network: Network)
fun callContractNoChangingState(contractId: String, registrarNameOrId: String, assetId: String, amount: String, byteCode: String): Result<LocalException, String>
fun <T> callCustomOperation(operation: CustomOperation<T>, callback: Callback<T>): Unit
fun <T> callCustomOperation(operation: CustomOperation<T>): Result<LocalException, T>
fun checkERC20Token(contractId: String, callback: Callback<Boolean>): Unit
fun getAccountDeposits(accountId: String, sidechainType: SidechainType?, callback: Callback<List<Deposit?>>): Unit
fun getAccountsByWif(wifs: List<String>, callback: Callback<Map<String, List<FullAccount>>>): Unit
fun getAccountsByWif(wifs: List<String>): Result<LocalException, Map<String, List<FullAccount>>>
fun getAccountWithdrawals(accountId: String, sidechainType: SidechainType?, callback: Callback<List<Withdraw?>>): Unit
fun getAssets(assetIds: List<String>): Result<LocalException, List<Asset>>
fun getAssets(assetIds: List<String>, callback: Callback<List<Asset>>): Unit
fun getBitcoinAddress(accountId: String, callback: Callback<BtcAddress>): Unit
fun getBlock(blockNumber: String): Result<LocalException, Block>
fun getBlock(blockNumber: String, callback: Callback<Block>): Unit
fun getBlockData(): BlockData
fun getBlockData(callback: Callback<BlockData>): Unit
fun getChainId(): Result<Exception, String>
fun getChainId(callback: Callback<String>): Unit
fun getContract(contractId: String): Result<LocalException, ContractStruct>
fun getContractLogs(contractId: String, fromBlock: String, toBlock: String): Result<LocalException, List<ContractLog>>
fun getContractResult(historyId: String): Result<LocalException, ContractResult>
fun getContracts(contractIds: List<String>): Result<LocalException, List<ContractInfo>>
fun getDynamicGlobalProperties(): Result<Exception, DynamicGlobalProperties>
fun getDynamicGlobalProperties(callback: Callback<DynamicGlobalProperties>): Unit
fun getERC20AccountDeposits(accountNameOrId: String, callback: Callback<List<ERC20Deposit>>): Unit
fun getERC20AccountWithdrawals(accountNameOrId: String, callback: Callback<List<ERC20Withdrawal>>): Unit
fun getERC20Token(address: String, callback: Callback<ERC20Token>): Unit
fun getERC20Token(address: String): Result<LocalException, ERC20Token>
fun getEthereumAddress(accountId: String, callback: Callback<EthAddress>): Unit
fun getFullAccounts(namesOrIds: List<String>, subscribe: Boolean, callback: Callback<Map<String, FullAccount>>): Unit
fun getFullAccounts(namesOrIds: List<String>, subscribe: Boolean): Result<LocalException, Map<String, FullAccount>>
fun getGlobalProperties(callback: Callback<GlobalProperties>): Unit
fun <T : GrapheneObject> getObjects(ids: List<String>, mapper: ObjectMapper<T>): Result<Exception, List<T>>
fun getRequiredContractFees(operations: List<BaseOperation>, asset: Asset): Result<Exception, List<ContractFee>>
fun getRequiredFees(operations: List<BaseOperation>, asset: Asset): Result<Exception, List<AssetAmount>>
var id: Int
fun listAssets(lowerBound: String, limit: Int, callback: Callback<List<Asset>>): Unit
fun lookupAssetsSymbols(symbolsOrIds: List<String>, callback: Callback<List<Asset>>): Unit
fun lookupAssetsSymbols(symbolsOrIds: List<String>): Result<LocalException, List<Asset>>
fun subscribe(clearFilter: Boolean, callback: Callback<Boolean>): Unit
fun subscribeContractLogs(contractId: String): Result<LocalException, Boolean>
fun subscribeContracts(contractIds: List<String>): Result<LocalException, Boolean>
fun unsubscribe(callback: Callback<Boolean>): Unit
class DefaultWifProcessor : WifProcessor
sealed class Deposit : GrapheneObject
data class DepositAddress
class DepositDeserializer : JsonDeserializer<Deposit>
class DepositMapper : ObjectMapper<Deposit>
interface Dispatcher
class DynamicArrayInputValueType : InputValueType
class DynamicGlobalProperties : GrapheneObject, Serializable
class DynamicStringArrayValueType : InputValueType
class Echodevnet : Network
interface EchoFramework : AuthenticationFacade, FeeFacade, InformationFacade, SubscriptionFacade, TransactionsFacade, AssetsFacade, ContractsFacade, EthereumSidechainFacade, BitcoinSidechainFacade, CommonSidechainFacade, ERC20SidechainFacade
class EchoFrameworkImpl : EchoFramework
Module Contents
val accountHistoryApiService: AccountHistoryApiService
fun btcWithdraw(accountNameOrId: String, wif: String, btcAddress: String, value: String, feeAsset: String, broadcastCallback: Callback<Boolean>, resultCallback: Callback<TransactionResult>?): Unit
fun callContract(userNameOrId: String, wif: String, assetId: String, feeAsset: String?, contractId: String, methodName: String, methodParams: List<InputValue>, value: String, broadcastCallback: Callback<Boolean>, resultCallback: Callback<String>?): Unit
fun callContract(userNameOrId: String, wif: String, assetId: String, feeAsset: String?, contractId: String, code: String, value: String, broadcastCallback: Callback<Boolean>, resultCallback: Callback<String>?): Unit
fun changeKeys(name: String, oldWif: String, newWif: String, callback: Callback<Any>): Unit
fun checkAccountReserved(nameOrId: String, callback: Callback<Boolean>): Unit
fun checkERC20Token(contractId: String, callback: Callback<Boolean>): Unit
fun createAsset(name: String, wif: String, asset: Asset, broadcastCallback: Callback<Boolean>, resultCallback: Callback<String>?): Unit
fun createContract(registrarNameOrId: String, wif: String, value: String, assetId: String, feeAsset: String?, byteCode: String, params: List<InputValue>, broadcastCallback: Callback<Boolean>, resultCallback: Callback<String>?): Unit
val cryptoApiService: CryptoApiService
val databaseApiService: DatabaseApiService
fun erc20Withdraw(accountNameOrId: String, wif: String, ethAddress: String, ethTokenId: String, value: String, feeAsset: String, broadcastCallback: Callback<Boolean>, resultCallback: Callback<TransactionResult>?): Unit
fun ethWithdraw(accountNameOrId: String, wif: String, ethAddress: String, value: String, feeAsset: String, broadcastCallback: Callback<Boolean>, resultCallback: Callback<TransactionResult>?): Unit
fun generateBitcoinAddress(accountNameOrId: String, wif: String, backupAddress: String, broadcastCallback: Callback<Boolean>, resultCallback: Callback<TransactionResult>?): Unit
fun generateEthereumAddress(accountNameOrId: String, wif: String, broadcastCallback: Callback<Boolean>, resultCallback: Callback<TransactionResult>?): Unit
fun getAccount(nameOrId: String, callback: Callback<FullAccount>): Unit
fun getAccountDeposits(accountNameOrId: String, sidechainType: SidechainType?, callback: Callback<List<Deposit?>>): Unit
fun getAccountHistory(nameOrId: String, transactionStartId: String, transactionStopId: String, limit: Int, callback: Callback<HistoryResponse>): Unit
fun getAccountsByWif(wif: String, callback: Callback<List<FullAccount>>): Unit
fun getAccountWithdrawals(accountNameOrId: String, sidechainType: SidechainType?, callback: Callback<List<Withdraw?>>): Unit
fun getAssets(assetIds: List<String>, callback: Callback<List<Asset>>): Unit
fun getBalance(nameOrId: String, asset: String, callback: Callback<Balance>): Unit
fun getBitcoinAddress(accountNameOrId: String, callback: Callback<BtcAddress>): Unit
fun getContract(contractId: String, callback: Callback<ContractStruct>): Unit
fun getContractLogs(contractId: String, fromBlock: String, toBlock: String, callback: Callback<List<ContractLog>>): Unit
fun getContractResult(historyId: String, callback: Callback<ContractResult>): Unit
fun getContracts(contractIds: List<String>, callback: Callback<List<ContractInfo>>): Unit
fun getERC20AccountDeposits(accountNameOrId: String, callback: Callback<List<ERC20Deposit>>): Unit
fun getERC20AccountWithdrawals(accountNameOrId: String, callback: Callback<List<ERC20Withdrawal>>): Unit
fun getERC20Token(address: String, callback: Callback<ERC20Token>): Unit
fun getEthereumAddress(accountNameOrId: String, callback: Callback<EthAddress>): Unit
fun getFeeForContractCreateOperation(userNameOrId: String, amount: String, byteCode: String, assetId: String, feeAsset: String?, callback: Callback<AssetAmount>): Unit
fun getFeeForContractOperation(userNameOrId: String, contractId: String, amount: String, methodName: String, methodParams: List<InputValue>, assetId: String, feeAsset: String?, callback: Callback<ContractFee>): Unit
fun getFeeForContractOperation(userNameOrId: String, contractId: String, amount: String, code: String, assetId: String, feeAsset: String?, callback: Callback<ContractFee>): Unit
fun getFeeForTransferOperation(fromNameOrId: String, wif: String, toNameOrId: String, amount: String, asset: String, feeAsset: String?, callback: Callback<String>): Unit
fun getGlobalProperties(callback: Callback<GlobalProperties>): Unit
fun isOwnedBy(nameOrId: String, wif: String, callback: Callback<FullAccount>): Unit
fun issueAsset(issuerNameOrId: String, wif: String, asset: String, amount: String, destinationIdOrName: String, callback: Callback<Boolean>): Unit
fun listAssets(lowerBound: String, limit: Int, callback: Callback<List<Asset>>): Unit
val loginService: LoginApiService
fun lookupAssetsSymbols(symbolsOrIds: List<String>, callback: Callback<List<Asset>>): Unit
val networkBroadcastApiService: NetworkBroadcastApiService
fun queryContract(userNameOrId: String, assetId: String, amount: String, contractId: String, methodName: String, methodParams: List<InputValue>, callback: Callback<String>): Unit
fun queryContract(userNameOrId: String, assetId: String, amount: String, contractId: String, code: String, callback: Callback<String>): Unit
fun register(userName: String, wif: String, callback: Callback<Boolean>): Unit
fun registerERC20Token(accountNameOrId: String, wif: String, ethAddress: String, name: String, symbol: String, decimals: String, feeAsset: String, broadcastCallback: Callback<Boolean>, resultCallback: Callback<TransactionResult>?): Unit
val registrationService: RegistrationApiService
fun sendTransferOperation(nameOrId: String, wif: String, toNameOrId: String, amount: String, asset: String, feeAsset: String?, callback: Callback<Boolean>): Unit
fun start(callback: Callback<Any>): Unit
fun stop(): Unit
fun subscribeOnAccount(nameOrId: String, listener: AccountListener, callback: Callback<Boolean>): Unit
fun subscribeOnBlock(listener: UpdateListener<Block>, callback: Callback<Boolean>): Unit
fun subscribeOnBlockchainData(listener: UpdateListener<DynamicGlobalProperties>, callback: Callback<Boolean>): Unit
fun subscribeOnContractLogs(contractId: String, listener: UpdateListener<List<ContractLog>>, callback: Callback<Boolean>): Unit
fun subscribeOnContracts(contractIds: List<String>, listener: UpdateListener<Map<String, List<ContractBalance>>>, callback: Callback<Boolean>): Unit
fun unsubscribeAll(callback: Callback<Boolean>): Unit
fun unsubscribeFromAccount(nameOrId: String, callback: Callback<Boolean>): Unit
fun unsubscribeFromBlock(callback: Callback<Boolean>): Unit
fun unsubscribeFromBlockchainData(callback: Callback<Boolean>): Unit
fun unsubscribeFromContractLogs(contractId: String, callback: Callback<Boolean>): Unit
fun unsubscribeFromContracts(listener: UpdateListener<Map<String, List<ContractBalance>>>, callback: Callback<Boolean>): Unit
class EchorandConfig
class EdAddress
class EdAuthority : GrapheneSerializable
class EdDSAIrohaSignatureAdapter : SignatureAdapter
interface EdDSAKeyProvider
class EdDSAKeyProviderImpl : EdDSAKeyProvider
class EdDSASecurityProvider : Provider
object EdDSASignature
class EdPublicKey : Serializable, ByteSerializable
class EmptyCallback<T> : Callback<T>
interface EncodingContext
class ERC20Deposit : GrapheneObject
class Erc20DepositMapper : ObjectMapper<ERC20Deposit>
interface ERC20SidechainFacade
Module Contents
abstract fun checkERC20Token(contractId: String, callback: Callback<Boolean>): Unit
abstract fun erc20Withdraw(accountNameOrId: String, wif: String, ethAddress: String, ethTokenId: String, value: String, feeAsset: String, broadcastCallback: Callback<Boolean>, resultCallback: Callback<TransactionResult>?): Unit
abstract fun getERC20AccountDeposits(accountNameOrId: String, callback: Callback<List<ERC20Deposit>>): Unit
abstract fun getERC20AccountWithdrawals(accountNameOrId: String, callback: Callback<List<ERC20Withdrawal>>): Unit
abstract fun getERC20Token(address: String, callback: Callback<ERC20Token>): Unit
abstract fun registerERC20Token(accountNameOrId: String, wif: String, ethAddress: String, name: String, symbol: String, decimals: String, feeAsset: String, broadcastCallback: Callback<Boolean>, resultCallback: Callback<TransactionResult>?): Unit
class ERC20SidechainFacadeImpl : BaseTransactionsFacade, ERC20SidechainFacade
Module Contents
ERC20SidechainFacadeImpl(databaseApiService: DatabaseApiService, networkBroadcastApiService: NetworkBroadcastApiService, cryptoCoreComponent: CryptoCoreComponent, notifiedTransactionsHelper: NotificationsHelper<TransactionResult>)
fun checkERC20Token(contractId: String, callback: Callback<Boolean>): Unit
fun erc20Withdraw(accountNameOrId: String, wif: String, ethAddress: String, ethTokenId: String, value: String, feeAsset: String, broadcastCallback: Callback<Boolean>, resultCallback: Callback<TransactionResult>?): Unit
fun getERC20AccountDeposits(accountNameOrId: String, callback: Callback<List<ERC20Deposit>>): Unit
fun getERC20AccountWithdrawals(accountNameOrId: String, callback: Callback<List<ERC20Withdrawal>>): Unit
fun getERC20Token(address: String, callback: Callback<ERC20Token>): Unit
fun registerERC20Token(accountNameOrId: String, wif: String, ethAddress: String, name: String, symbol: String, decimals: String, feeAsset: String, broadcastCallback: Callback<Boolean>, resultCallback: Callback<TransactionResult>?): Unit
class ERC20Token : GrapheneObject, GrapheneSerializable
class Erc20TokenDeserializer : JsonDeserializer<ERC20Token>
class Erc20TokenMapper : ObjectMapper<ERC20Token>
class ERC20Withdrawal : GrapheneObject
class Erc20WithdrawalMapper : ObjectMapper<ERC20Withdrawal>
data class Error
data class ErrorData
data class EthAddress
object EthAddressValidator
class EthContractAddressInputValueType : InputValueType
class EthContractAddressOutputValueType : OutputValueType
interface EthereumSidechainFacade
Module Contents
abstract fun ethWithdraw(accountNameOrId: String, wif: String, ethAddress: String, value: String, feeAsset: String, broadcastCallback: Callback<Boolean>, resultCallback: Callback<TransactionResult>?): Unit
abstract fun generateEthereumAddress(accountNameOrId: String, wif: String, broadcastCallback: Callback<Boolean>, resultCallback: Callback<TransactionResult>?): Unit
abstract fun getEthereumAddress(accountNameOrId: String, callback: Callback<EthAddress>): Unit
class EthereumSidechainFacadeImpl : BaseTransactionsFacade, EthereumSidechainFacade
Module Contents
EthereumSidechainFacadeImpl(databaseApiService: DatabaseApiService, networkBroadcastApiService: NetworkBroadcastApiService, cryptoCoreComponent: CryptoCoreComponent, notifiedTransactionsHelper: NotificationsHelper<TransactionResult>)
fun ethWithdraw(accountNameOrId: String, wif: String, ethAddress: String, value: String, feeAsset: String, broadcastCallback: Callback<Boolean>, resultCallback: Callback<TransactionResult>?): Unit
fun generateEthereumAddress(accountNameOrId: String, wif: String, broadcastCallback: Callback<Boolean>, resultCallback: Callback<TransactionResult>?): Unit
fun getEthereumAddress(accountNameOrId: String, callback: Callback<EthAddress>): Unit
class ExecRes
class ExecutorServiceDispatcher : Dispatcher
class Extensions : GrapheneSerializable
interface FeeFacade
Module Contents
abstract fun getFeeForContractCreateOperation(userNameOrId: String, amount: String, byteCode: String, assetId: String, feeAsset: String?, callback: Callback<AssetAmount>): Unit
abstract fun getFeeForContractOperation(userNameOrId: String, contractId: String, amount: String, methodName: String, methodParams: List<InputValue>, assetId: String, feeAsset: String?, callback: Callback<ContractFee>): Unit
abstract fun getFeeForContractOperation(userNameOrId: String, contractId: String, amount: String, code: String, assetId: String, feeAsset: String?, callback: Callback<ContractFee>): Unit
abstract fun getFeeForTransferOperation(fromNameOrId: String, wif: String, toNameOrId: String, amount: String, asset: String, feeAsset: String?, callback: Callback<String>): Unit
class FeeFacadeImpl : BaseTransactionsFacade, FeeFacade
Module Contents
FeeFacadeImpl(databaseApiService: DatabaseApiService, cryptoCoreComponent: CryptoCoreComponent, feeRatioProvider: Provider<Double>)
fun getFeeForContractCreateOperation(userNameOrId: String, amount: String, byteCode: String, assetId: String, feeAsset: String?, callback: Callback<AssetAmount>): Unit
fun getFeeForContractOperation(userNameOrId: String, contractId: String, amount: String, methodName: String, methodParams: List<InputValue>, assetId: String, feeAsset: String?, callback: Callback<ContractFee>): Unit
fun getFeeForContractOperation(userNameOrId: String, contractId: String, amount: String, code: String, assetId: String, feeAsset: String?, callback: Callback<ContractFee>): Unit
fun getFeeForTransferOperation(fromNameOrId: String, wif: String, toNameOrId: String, amount: String, asset: String, feeAsset: String?, callback: Callback<String>): Unit
class FeeParameter
class FeeParameters
class FeeRatioProvider : Provider<Double>
class FixedArrayInputValueType : InputValueType
class FixedArrayOutputValueType : OutputValueType
class FixedBytesInputValueType : InputValueType
class FixedBytesOutputValueType : OutputValueType
class FullAccount
class FullAccountsSocketOperation : SocketOperation<Map<String, FullAccount>>
interface FutureCallback<T>
class FutureTask<T> : CancellableTask, CancellableFuture<T>
class GasPrice
class GenerateBitcoinAddressOperation : BaseOperation
class GenerateEthereumAddressOperation : BaseOperation
class GetAccountDepositsSocketOperation : SocketOperation<List<Deposit?>>
class GetAccountHistorySocketOperation : SocketOperation<HistoryResponse>
class GetAccountWithdrawalsSocketOperation : SocketOperation<List<Withdraw?>>
class GetAssetsSocketOperation : SocketOperation<List<Asset>>
class GetBitcoinAddressSocketOperation : SocketOperation<BtcAddress>
class GetBlockSocketOperation : SocketOperation<Block>
class GetChainIdSocketOperation : SocketOperation<String>
class GetContractLogsSocketOperation : SocketOperation<List<ContractLog>>
class GetContractResultSocketOperation : SocketOperation<ContractResult>
class GetContractSocketOperation : SocketOperation<ContractStruct>
class GetContractsSocketOperation : SocketOperation<List<ContractInfo>>
class GetERC20DepositsSocketOperation : SocketOperation<List<ERC20Deposit>>
class GetERC20TokenSocketOperation : SocketOperation<ERC20Token>
class GetERC20WithdrawalsSocketOperation : SocketOperation<List<ERC20Withdrawal>>
class GetEthereumAddressSocketOperation : SocketOperation<EthAddress>
class GetGlobalPropertiesSocketOperation : SocketOperation<GlobalProperties>
class GetKeyReferencesSocketOperation : SocketOperation<Map<String, List<String>>>
class GetObjectsSocketOperation<T : GrapheneObject> : SocketOperation<List<T>>
class GlobalProperties
interface GlobalsService
open class GrapheneObject : ByteSerializable
interface GrapheneSerializable : ByteSerializable, JsonSerializable
data class HistoricalTransfer
data class HistoryResponse
class HistoryResult
class IncompatibleOperationException : LocalException
interface InformationFacade
class InformationFacadeImpl : InformationFacade
Module Contents
InformationFacadeImpl(databaseApiService: DatabaseApiService, accountHistoryApiService: AccountHistoryApiService)
fun checkAccountReserved(nameOrId: String, callback: Callback<Boolean>): Unit
fun getAccount(nameOrId: String, callback: Callback<FullAccount>): Unit
fun getAccountHistory(nameOrId: String, transactionStartId: String, transactionStopId: String, limit: Int, callback: Callback<HistoryResponse>): Unit
fun getAccountsByWif(wif: String, callback: Callback<List<FullAccount>>): Unit
fun getBalance(nameOrId: String, asset: String, callback: Callback<Balance>): Unit
fun getGlobalProperties(callback: Callback<GlobalProperties>): Unit
interface InitializerFacade
class InitializerFacadeImpl : InitializerFacade
data class InputValue
interface InputValueType
object Int64 : IntType
interface IntType
class IrohaKeyPairCryptoAdapter : KeyPairCryptoAdapter
class IssueAssetOperation : BaseOperation
class IssueAssetOperationBuilder : Builder<IssueAssetOperation>
java.math.BigInteger
java.util.Date
interface JsonDeserializable<T> : Serializable
interface JsonSerializable : Serializable
class Keccak
interface KeyPairCryptoAdapter
class KeyPairGenerator : KeyPairGeneratorSpi
kotlin.Array
kotlin.Boolean
kotlin.ByteArray
kotlin.ByteArray
kotlin.collections.Map
kotlin.collections.Set
kotlin.Int
kotlin.Long
kotlin.Long
kotlin.Short
kotlin.String
class ListAssetsSocketOperation : SocketOperation<List<Asset>>
class ListValueType : OutputValueType
open class LocalException : RuntimeException
class Log
interface Logger
object LoggerCoreComponent
class LoggerImpl : Logger
interface LoginApiService : ApiService, CustomOperationService
class LoginApiServiceImpl : LoginApiService
class LoginSocketOperation : SocketOperation<Boolean>
class LookupAssetsSymbolsSocketOperation : SocketOperation<List<Asset>>
class Mainnet : Network
class MainThreadAccountListener : AccountListener
class MainThreadCallback<T> : Callback<T>
class MainThreadExecutor : Executor
class MainThreadUpdateListener<T> : UpdateListener<T>
class MalformedAddressException : LocalException
class MalformedOperationException : LocalException
class MalformedParameterException : LocalException
class MalformedTransactionException : LocalException
interface Mapper<T>
interface MapperCoreComponent
class MapperCoreComponentImpl : MapperCoreComponent
class Method
object NaCl
class NaCLKeyPairCryptoAdapter : KeyPairCryptoAdapter
abstract class Network
interface NetworkBroadcastApiService : ApiService, TransactionsService, CustomOperationService
class NetworkBroadcastApiServiceImpl : NetworkBroadcastApiService
class NotFoundException : LocalException
class NotificationsHelper<T>
interface NotifiedSubscriptionManager<T>
class NumberInputValueType : InputValueType
open class NumberOutputValueType : OutputValueType
interface ObjectMapper<T : GrapheneObject> : Mapper<T>
interface ObjectsService
enum class ObjectType
enum class OperationCodingKeys
enum class OperationType
class OperationTypeToClassConverter : Converter<Int, Class<*>?>
class Optional<T : GrapheneSerializable> : GrapheneSerializable
data class OutputValue
interface OutputValueType
enum class Parameter
class Parameters
class PrevSignature
class Price : JsonSerializable, ByteSerializable
interface Provider<T>
class PublicKey : Serializable, ByteSerializable
class QueryContractSocketOperation : SocketOperation<String>
interface RegistrationApiService : ApiService
class RegistrationApiServiceImpl : RegistrationApiService
class RegistrationException : LocalException
class RegistrationResult
interface RegistrationSubscriptionManager : NotifiedSubscriptionManager<RegistrationResult>
class RegistrationSubscriptionManagerImpl : RegistrationSubscriptionManager
data class RegistrationTask
class RegularContractResult
class RequestRegistrationTaskSocketOperation : SocketOperation<RegistrationTask>
class RequiredContractFeesSocketOperation : SocketOperation<List<ContractFee>>
class RequiredFeesSocketOperation : SocketOperation<List<AssetAmount>>
class ResponseSocketException : LocalException
sealed class Result<out E, out V>
class SetSubscribeCallbackSocketOperation : SocketOperation<Boolean>
class Settings
class Sha256Hash : Serializable, Comparable<Sha256Hash>
class SidechainBurnSocketOperation : BaseOperation
class SidechainConfig
class SidechainERC20BurnSocketOperation : BaseOperation
class SidechainERC20DepositSocketOperation : BaseOperation
class SidechainERC20IssueSocketOperation : BaseOperation
class SidechainERC20RegisterTokenOperation : BaseOperation
class SidechainIssueSocketOperation : BaseOperation
interface SidechainService
Module Contents
abstract fun checkERC20Token(contractId: String, callback: Callback<Boolean>): Unit
abstract fun getAccountDeposits(accountId: String, sidechainType: SidechainType?, callback: Callback<List<Deposit?>>): Unit
abstract fun getAccountWithdrawals(accountId: String, sidechainType: SidechainType?, callback: Callback<List<Withdraw?>>): Unit
abstract fun getBitcoinAddress(accountId: String, callback: Callback<BtcAddress>): Unit
abstract fun getERC20AccountDeposits(accountNameOrId: String, callback: Callback<List<ERC20Deposit>>): Unit
abstract fun getERC20AccountWithdrawals(accountNameOrId: String, callback: Callback<List<ERC20Withdrawal>>): Unit
abstract fun getERC20Token(address: String, callback: Callback<ERC20Token>): Unit
abstract fun getERC20Token(address: String): Result<LocalException, ERC20Token>
abstract fun getEthereumAddress(accountId: String, callback: Callback<EthAddress>): Unit
enum class SidechainType
interface SignatureAdapter
interface SocketConnection
class SocketConnectionException : LocalException
interface SocketCoreComponent
class SocketCoreComponentImpl : SocketCoreComponent
class SocketException : LocalException
interface SocketMessenger : SocketConnection, SocketProxy
class SocketMessengerImpl : SocketMessenger
interface SocketMessengerListener
enum class SocketMethodType
abstract class SocketOperation<T> : JsonSerializable, JsonDeserializable<T>
enum class SocketOperationKeys
interface SocketProxy
open class SocketResponse
class SocketResponseResult<T> : SocketResponse
enum class SocketState
class StringInputValueType : InputValueType
class StringOutputValueType : OutputValueType
class SubmitRegistrationSolutionSocketOperation : SocketOperation<Int>
class SubscribeContractLogsSocketOperation : SocketOperation<Boolean>
class SubscribeContractsSocketOperation : SocketOperation<Boolean>
interface SubscriptionFacade
Module Contents
abstract fun subscribeOnAccount(nameOrId: String, listener: AccountListener, callback: Callback<Boolean>): Unit
abstract fun subscribeOnBlock(listener: UpdateListener<Block>, callback: Callback<Boolean>): Unit
abstract fun subscribeOnBlockchainData(listener: UpdateListener<DynamicGlobalProperties>, callback: Callback<Boolean>): Unit
abstract fun subscribeOnContractLogs(contractId: String, listener: UpdateListener<List<ContractLog>>, callback: Callback<Boolean>): Unit
abstract fun subscribeOnContracts(contractIds: List<String>, listener: UpdateListener<Map<String, List<ContractBalance>>>, callback: Callback<Boolean>): Unit
abstract fun unsubscribeAll(callback: Callback<Boolean>): Unit
abstract fun unsubscribeFromAccount(nameOrId: String, callback: Callback<Boolean>): Unit
abstract fun unsubscribeFromBlock(callback: Callback<Boolean>): Unit
abstract fun unsubscribeFromBlockchainData(callback: Callback<Boolean>): Unit
abstract fun unsubscribeFromContractLogs(contractId: String, callback: Callback<Boolean>): Unit
abstract fun unsubscribeFromContracts(listener: UpdateListener<Map<String, List<ContractBalance>>>, callback: Callback<Boolean>): Unit
class SubscriptionFacadeImpl : SubscriptionFacade
Module Contents
SubscriptionFacadeImpl(socketCoreComponent: SocketCoreComponent, databaseApiService: DatabaseApiService, network: Network)
const val blockObjectId: String
const val METHOD_KEY: String
fun subscribeOnAccount(nameOrId: String, listener: AccountListener, callback: Callback<Boolean>): Unit
fun subscribeOnBlock(listener: UpdateListener<Block>, callback: Callback<Boolean>): Unit
fun subscribeOnBlockchainData(listener: UpdateListener<DynamicGlobalProperties>, callback: Callback<Boolean>): Unit
fun subscribeOnContractLogs(contractId: String, listener: UpdateListener<List<ContractLog>>, callback: Callback<Boolean>): Unit
fun subscribeOnContracts(contractIds: List<String>, listener: UpdateListener<Map<String, List<ContractBalance>>>, callback: Callback<Boolean>): Unit
fun unsubscribeAll(callback: Callback<Boolean>): Unit
fun unsubscribeFromAccount(nameOrId: String, callback: Callback<Boolean>): Unit
fun unsubscribeFromBlock(callback: Callback<Boolean>): Unit
fun unsubscribeFromBlockchainData(callback: Callback<Boolean>): Unit
fun unsubscribeFromContractLogs(contractId: String, callback: Callback<Boolean>): Unit
fun unsubscribeFromContracts(listener: UpdateListener<Map<String, List<ContractBalance>>>, callback: Callback<Boolean>): Unit
interface SubscriptionService
class Testnet : Network
class Transaction : ByteSerializable, JsonSerializable
data class TransactionOperationsResult
data class TransactionResult
interface TransactionsFacade
class TransactionsFacadeImpl : BaseTransactionsFacade, TransactionsFacade
class TransactionSocketOperation : SocketOperation<Boolean>
interface TransactionsService
interface TransactionSubscriptionManager : NotifiedSubscriptionManager<TransactionResult>
class TransactionSubscriptionManagerImpl : TransactionSubscriptionManager
class TransactionWithCallbackSocketOperation : SocketOperation<Int>
class TransferOperation : BaseOperation
class TransferOperationBuilder : Builder<TransferOperation>
class TrReceipt
object Uint16 : IntType
object Uint32 : IntType
object Uint8 : IntType
interface UpdateListener<T>
object Varint
class Vote : ByteSerializable
interface WifProcessor
sealed class Withdraw : GrapheneObject
class WithdrawBitcoinOperation : BaseOperation
class WithdrawDeserializer : JsonDeserializer<Withdraw>
class WithdrawERC20Operation : BaseOperation
class WithdrawEthereumOperation : BaseOperation
class WithdrawMapper : ObjectMapper<Withdraw>
package org.echo.mobile.bitcoinj
package org.echo.mobile.framework
Module Contents
interface AccountListener
interface Callback<T>
const val DEFAULT_GAS_LIMIT: Long
const val DEFAULT_GAS_PRICE: Long
const val ECHO_ASSET_ID: String
const val ECHO_URL: String
interface EchoFramework : AuthenticationFacade, FeeFacade, InformationFacade, SubscriptionFacade, TransactionsFacade, AssetsFacade, ContractsFacade, EthereumSidechainFacade, BitcoinSidechainFacade, CommonSidechainFacade, ERC20SidechainFacade
class EchoFrameworkImpl : EchoFramework
Module Contents
val accountHistoryApiService: AccountHistoryApiService
fun btcWithdraw(accountNameOrId: String, wif: String, btcAddress: String, value: String, feeAsset: String, broadcastCallback: Callback<Boolean>, resultCallback: Callback<TransactionResult>?): Unit
fun callContract(userNameOrId: String, wif: String, assetId: String, feeAsset: String?, contractId: String, methodName: String, methodParams: List<InputValue>, value: String, broadcastCallback: Callback<Boolean>, resultCallback: Callback<String>?): Unit
fun callContract(userNameOrId: String, wif: String, assetId: String, feeAsset: String?, contractId: String, code: String, value: String, broadcastCallback: Callback<Boolean>, resultCallback: Callback<String>?): Unit
fun changeKeys(name: String, oldWif: String, newWif: String, callback: Callback<Any>): Unit
fun checkAccountReserved(nameOrId: String, callback: Callback<Boolean>): Unit
fun checkERC20Token(contractId: String, callback: Callback<Boolean>): Unit
fun createAsset(name: String, wif: String, asset: Asset, broadcastCallback: Callback<Boolean>, resultCallback: Callback<String>?): Unit
fun createContract(registrarNameOrId: String, wif: String, value: String, assetId: String, feeAsset: String?, byteCode: String, params: List<InputValue>, broadcastCallback: Callback<Boolean>, resultCallback: Callback<String>?): Unit
val cryptoApiService: CryptoApiService
val databaseApiService: DatabaseApiService
fun erc20Withdraw(accountNameOrId: String, wif: String, ethAddress: String, ethTokenId: String, value: String, feeAsset: String, broadcastCallback: Callback<Boolean>, resultCallback: Callback<TransactionResult>?): Unit
fun ethWithdraw(accountNameOrId: String, wif: String, ethAddress: String, value: String, feeAsset: String, broadcastCallback: Callback<Boolean>, resultCallback: Callback<TransactionResult>?): Unit
fun generateBitcoinAddress(accountNameOrId: String, wif: String, backupAddress: String, broadcastCallback: Callback<Boolean>, resultCallback: Callback<TransactionResult>?): Unit
fun generateEthereumAddress(accountNameOrId: String, wif: String, broadcastCallback: Callback<Boolean>, resultCallback: Callback<TransactionResult>?): Unit
fun getAccount(nameOrId: String, callback: Callback<FullAccount>): Unit
fun getAccountDeposits(accountNameOrId: String, sidechainType: SidechainType?, callback: Callback<List<Deposit?>>): Unit
fun getAccountHistory(nameOrId: String, transactionStartId: String, transactionStopId: String, limit: Int, callback: Callback<HistoryResponse>): Unit
fun getAccountsByWif(wif: String, callback: Callback<List<FullAccount>>): Unit
fun getAccountWithdrawals(accountNameOrId: String, sidechainType: SidechainType?, callback: Callback<List<Withdraw?>>): Unit
fun getAssets(assetIds: List<String>, callback: Callback<List<Asset>>): Unit
fun getBalance(nameOrId: String, asset: String, callback: Callback<Balance>): Unit
fun getBitcoinAddress(accountNameOrId: String, callback: Callback<BtcAddress>): Unit
fun getContract(contractId: String, callback: Callback<ContractStruct>): Unit
fun getContractLogs(contractId: String, fromBlock: String, toBlock: String, callback: Callback<List<ContractLog>>): Unit
fun getContractResult(historyId: String, callback: Callback<ContractResult>): Unit
fun getContracts(contractIds: List<String>, callback: Callback<List<ContractInfo>>): Unit
fun getERC20AccountDeposits(accountNameOrId: String, callback: Callback<List<ERC20Deposit>>): Unit
fun getERC20AccountWithdrawals(accountNameOrId: String, callback: Callback<List<ERC20Withdrawal>>): Unit
fun getERC20Token(address: String, callback: Callback<ERC20Token>): Unit
fun getEthereumAddress(accountNameOrId: String, callback: Callback<EthAddress>): Unit
fun getFeeForContractCreateOperation(userNameOrId: String, amount: String, byteCode: String, assetId: String, feeAsset: String?, callback: Callback<AssetAmount>): Unit
fun getFeeForContractOperation(userNameOrId: String, contractId: String, amount: String, methodName: String, methodParams: List<InputValue>, assetId: String, feeAsset: String?, callback: Callback<ContractFee>): Unit
fun getFeeForContractOperation(userNameOrId: String, contractId: String, amount: String, code: String, assetId: String, feeAsset: String?, callback: Callback<ContractFee>): Unit
fun getFeeForTransferOperation(fromNameOrId: String, wif: String, toNameOrId: String, amount: String, asset: String, feeAsset: String?, callback: Callback<String>): Unit
fun getGlobalProperties(callback: Callback<GlobalProperties>): Unit
fun isOwnedBy(nameOrId: String, wif: String, callback: Callback<FullAccount>): Unit
fun issueAsset(issuerNameOrId: String, wif: String, asset: String, amount: String, destinationIdOrName: String, callback: Callback<Boolean>): Unit
fun listAssets(lowerBound: String, limit: Int, callback: Callback<List<Asset>>): Unit
val loginService: LoginApiService
fun lookupAssetsSymbols(symbolsOrIds: List<String>, callback: Callback<List<Asset>>): Unit
val networkBroadcastApiService: NetworkBroadcastApiService
fun queryContract(userNameOrId: String, assetId: String, amount: String, contractId: String, methodName: String, methodParams: List<InputValue>, callback: Callback<String>): Unit
fun queryContract(userNameOrId: String, assetId: String, amount: String, contractId: String, code: String, callback: Callback<String>): Unit
fun register(userName: String, wif: String, callback: Callback<Boolean>): Unit
fun registerERC20Token(accountNameOrId: String, wif: String, ethAddress: String, name: String, symbol: String, decimals: String, feeAsset: String, broadcastCallback: Callback<Boolean>, resultCallback: Callback<TransactionResult>?): Unit
val registrationService: RegistrationApiService
fun sendTransferOperation(nameOrId: String, wif: String, toNameOrId: String, amount: String, asset: String, feeAsset: String?, callback: Callback<Boolean>): Unit
fun start(callback: Callback<Any>): Unit
fun stop(): Unit
fun subscribeOnAccount(nameOrId: String, listener: AccountListener, callback: Callback<Boolean>): Unit
fun subscribeOnBlock(listener: UpdateListener<Block>, callback: Callback<Boolean>): Unit
fun subscribeOnBlockchainData(listener: UpdateListener<DynamicGlobalProperties>, callback: Callback<Boolean>): Unit
fun subscribeOnContractLogs(contractId: String, listener: UpdateListener<List<ContractLog>>, callback: Callback<Boolean>): Unit
fun subscribeOnContracts(contractIds: List<String>, listener: UpdateListener<Map<String, List<ContractBalance>>>, callback: Callback<Boolean>): Unit
fun unsubscribeAll(callback: Callback<Boolean>): Unit
fun unsubscribeFromAccount(nameOrId: String, callback: Callback<Boolean>): Unit
fun unsubscribeFromBlock(callback: Callback<Boolean>): Unit
fun unsubscribeFromBlockchainData(callback: Callback<Boolean>): Unit
fun unsubscribeFromContractLogs(contractId: String, callback: Callback<Boolean>): Unit
fun unsubscribeFromContracts(listener: UpdateListener<Map<String, List<ContractBalance>>>, callback: Callback<Boolean>): Unit
const val ILLEGAL_ID: Int
fun <T> Callback<T>.processResult(block: () -> T): Unit
fun <E, T> Callback<T>.processResult(targetResult: Result<E, T>): Unit
const val TIME_DATE_FORMAT: String
package org.echo.mobile.framework.core.crypto
package org.echo.mobile.framework.core.crypto.internal
package org.echo.mobile.framework.core.crypto.internal.eddsa
package org.echo.mobile.framework.core.crypto.internal.eddsa.key
package org.echo.mobile.framework.core.crypto.internal.eddsa.signature
package org.echo.mobile.framework.core.logger
package org.echo.mobile.framework.core.logger.internal
package org.echo.mobile.framework.core.mapper
package org.echo.mobile.framework.core.mapper.internal
package org.echo.mobile.framework.core.socket
package org.echo.mobile.framework.core.socket.internal
package org.echo.mobile.framework.exception
package org.echo.mobile.framework.facade
Module Contents
interface AssetsFacade
Module Contents
abstract fun createAsset(name: String, wif: String, asset: Asset, broadcastCallback: Callback<Boolean>, resultCallback: Callback<String>? = null): Unit
abstract fun getAssets(assetIds: List<String>, callback: Callback<List<Asset>>): Unit
abstract fun issueAsset(issuerNameOrId: String, wif: String, asset: String, amount: String, destinationIdOrName: String, callback: Callback<Boolean>): Unit
abstract fun listAssets(lowerBound: String, limit: Int, callback: Callback<List<Asset>>): Unit
abstract fun lookupAssetsSymbols(symbolsOrIds: List<String>, callback: Callback<List<Asset>>): Unit
interface AuthenticationFacade
interface BitcoinSidechainFacade
Module Contents
abstract fun btcWithdraw(accountNameOrId: String, wif: String, btcAddress: String, value: String, feeAsset: String, broadcastCallback: Callback<Boolean>, resultCallback: Callback<TransactionResult>?): Unit
abstract fun generateBitcoinAddress(accountNameOrId: String, wif: String, backupAddress: String, broadcastCallback: Callback<Boolean>, resultCallback: Callback<TransactionResult>?): Unit
abstract fun getBitcoinAddress(accountNameOrId: String, callback: Callback<BtcAddress>): Unit
interface CommonSidechainFacade
interface ContractsFacade
Module Contents
abstract fun callContract(userNameOrId: String, wif: String, assetId: String, feeAsset: String?, contractId: String, methodName: String, methodParams: List<InputValue>, value: String = BigInteger.ZERO.toString(), broadcastCallback: Callback<Boolean>, resultCallback: Callback<String>? = null): Unit
abstract fun callContract(userNameOrId: String, wif: String, assetId: String, feeAsset: String?, contractId: String, code: String, value: String = BigInteger.ZERO.toString(), broadcastCallback: Callback<Boolean>, resultCallback: Callback<String>? = null): Unit
abstract fun createContract(registrarNameOrId: String, wif: String, value: String = BigInteger.ZERO.toString(), assetId: String, feeAsset: String?, byteCode: String, params: List<InputValue> = listOf(), broadcastCallback: Callback<Boolean>, resultCallback: Callback<String>? = null): Unit
abstract fun getContract(contractId: String, callback: Callback<ContractStruct>): Unit
abstract fun getContractLogs(contractId: String, fromBlock: String, toBlock: String, callback: Callback<List<ContractLog>>): Unit
abstract fun getContractResult(historyId: String, callback: Callback<ContractResult>): Unit
abstract fun getContracts(contractIds: List<String>, callback: Callback<List<ContractInfo>>): Unit
abstract fun queryContract(userNameOrId: String, assetId: String, amount: String, contractId: String, methodName: String, methodParams: List<InputValue>, callback: Callback<String>): Unit
abstract fun queryContract(userNameOrId: String, assetId: String, amount: String, contractId: String, code: String, callback: Callback<String>): Unit
interface ERC20SidechainFacade
Module Contents
abstract fun checkERC20Token(contractId: String, callback: Callback<Boolean>): Unit
abstract fun erc20Withdraw(accountNameOrId: String, wif: String, ethAddress: String, ethTokenId: String, value: String, feeAsset: String, broadcastCallback: Callback<Boolean>, resultCallback: Callback<TransactionResult>?): Unit
abstract fun getERC20AccountDeposits(accountNameOrId: String, callback: Callback<List<ERC20Deposit>>): Unit
abstract fun getERC20AccountWithdrawals(accountNameOrId: String, callback: Callback<List<ERC20Withdrawal>>): Unit
abstract fun getERC20Token(address: String, callback: Callback<ERC20Token>): Unit
abstract fun registerERC20Token(accountNameOrId: String, wif: String, ethAddress: String, name: String, symbol: String, decimals: String, feeAsset: String, broadcastCallback: Callback<Boolean>, resultCallback: Callback<TransactionResult>?): Unit
interface EthereumSidechainFacade
Module Contents
abstract fun ethWithdraw(accountNameOrId: String, wif: String, ethAddress: String, value: String, feeAsset: String, broadcastCallback: Callback<Boolean>, resultCallback: Callback<TransactionResult>?): Unit
abstract fun generateEthereumAddress(accountNameOrId: String, wif: String, broadcastCallback: Callback<Boolean>, resultCallback: Callback<TransactionResult>?): Unit
abstract fun getEthereumAddress(accountNameOrId: String, callback: Callback<EthAddress>): Unit
interface FeeFacade
Module Contents
abstract fun getFeeForContractCreateOperation(userNameOrId: String, amount: String, byteCode: String, assetId: String, feeAsset: String?, callback: Callback<AssetAmount>): Unit
abstract fun getFeeForContractOperation(userNameOrId: String, contractId: String, amount: String, methodName: String, methodParams: List<InputValue>, assetId: String, feeAsset: String?, callback: Callback<ContractFee>): Unit
abstract fun getFeeForContractOperation(userNameOrId: String, contractId: String, amount: String, code: String, assetId: String, feeAsset: String?, callback: Callback<ContractFee>): Unit
abstract fun getFeeForTransferOperation(fromNameOrId: String, wif: String, toNameOrId: String, amount: String, asset: String, feeAsset: String?, callback: Callback<String>): Unit
interface InformationFacade
interface InitializerFacade
interface SubscriptionFacade
Module Contents
abstract fun subscribeOnAccount(nameOrId: String, listener: AccountListener, callback: Callback<Boolean>): Unit
abstract fun subscribeOnBlock(listener: UpdateListener<Block>, callback: Callback<Boolean>): Unit
abstract fun subscribeOnBlockchainData(listener: UpdateListener<DynamicGlobalProperties>, callback: Callback<Boolean>): Unit
abstract fun subscribeOnContractLogs(contractId: String, listener: UpdateListener<List<ContractLog>>, callback: Callback<Boolean>): Unit
abstract fun subscribeOnContracts(contractIds: List<String>, listener: UpdateListener<Map<String, List<ContractBalance>>>, callback: Callback<Boolean>): Unit
abstract fun unsubscribeAll(callback: Callback<Boolean>): Unit
abstract fun unsubscribeFromAccount(nameOrId: String, callback: Callback<Boolean>): Unit
abstract fun unsubscribeFromBlock(callback: Callback<Boolean>): Unit
abstract fun unsubscribeFromBlockchainData(callback: Callback<Boolean>): Unit
abstract fun unsubscribeFromContractLogs(contractId: String, callback: Callback<Boolean>): Unit
abstract fun unsubscribeFromContracts(listener: UpdateListener<Map<String, List<ContractBalance>>>, callback: Callback<Boolean>): Unit
interface TransactionsFacade
package org.echo.mobile.framework.facade.internal
Module Contents
class AssetsFacadeImpl : BaseTransactionsFacade, AssetsFacade
Module Contents
AssetsFacadeImpl(databaseApiService: DatabaseApiService, networkBroadcastApiService: NetworkBroadcastApiService, cryptoCoreComponent: CryptoCoreComponent, notifiedTransactionsHelper: NotificationsHelper<TransactionResult>)
fun createAsset(name: String, wif: String, asset: Asset, broadcastCallback: Callback<Boolean>, resultCallback: Callback<String>?): Unit
fun getAssets(assetIds: List<String>, callback: Callback<List<Asset>>): Unit
fun issueAsset(issuerNameOrId: String, wif: String, asset: String, amount: String, destinationIdOrName: String, callback: Callback<Boolean>): Unit
fun listAssets(lowerBound: String, limit: Int, callback: Callback<List<Asset>>): Unit
fun lookupAssetsSymbols(symbolsOrIds: List<String>, callback: Callback<List<Asset>>): Unit
class AuthenticationFacadeImpl : BaseTransactionsFacade, AuthenticationFacade
Module Contents
AuthenticationFacadeImpl(databaseApiService: DatabaseApiService, networkBroadcastApiService: NetworkBroadcastApiService, registrationApiService: RegistrationApiService, cryptoCoreComponent: CryptoCoreComponent, notificationsHelper: NotificationsHelper<RegistrationResult>)
fun changeKeys(name: String, oldWif: String, newWif: String, callback: Callback<Any>): Unit
fun isOwnedBy(nameOrId: String, wif: String, callback: Callback<FullAccount>): Unit
fun register(userName: String, wif: String, callback: Callback<Boolean>): Unit
abstract class BaseTransactionsFacade
Module Contents
BaseTransactionsFacade(databaseApiService: DatabaseApiService, cryptoCoreComponent: CryptoCoreComponent)
protected fun checkOwnerAccount(wif: String, account: Account): Unit
protected fun configureTransaction(transfer: BaseOperation, privateKey: ByteArray, asset: String, feeAsset: String?): Transaction
protected fun getChainId(): String
protected fun getContractFees(operations: List<BaseOperation>, assetId: String): List<ContractFee>
protected fun getFees(operations: List<BaseOperation>, asset: Asset = Asset(ECHO_ASSET_ID)): List<AssetAmount>
protected fun getFees(operations: List<BaseOperation>, assetId: String): List<AssetAmount>
protected fun getParticipantsPair(fromNameOrId: String, toNameOrId: String): Pair<Account, Account>
class BitcoinSidechainFacadeImpl : BaseTransactionsFacade, BitcoinSidechainFacade
Module Contents
BitcoinSidechainFacadeImpl(databaseApiService: DatabaseApiService, networkBroadcastApiService: NetworkBroadcastApiService, cryptoCoreComponent: CryptoCoreComponent, notifiedTransactionsHelper: NotificationsHelper<TransactionResult>)
fun btcWithdraw(accountNameOrId: String, wif: String, btcAddress: String, value: String, feeAsset: String, broadcastCallback: Callback<Boolean>, resultCallback: Callback<TransactionResult>?): Unit
fun generateBitcoinAddress(accountNameOrId: String, wif: String, backupAddress: String, broadcastCallback: Callback<Boolean>, resultCallback: Callback<TransactionResult>?): Unit
fun getBitcoinAddress(accountNameOrId: String, callback: Callback<BtcAddress>): Unit
class CommonSidechainFacadeImpl : CommonSidechainFacade
class ContractsFacadeImpl : BaseTransactionsFacade, ContractsFacade
Module Contents
ContractsFacadeImpl(databaseApiService: DatabaseApiService, networkBroadcastApiService: NetworkBroadcastApiService, cryptoCoreComponent: CryptoCoreComponent, notifiedTransactionsHelper: NotificationsHelper<TransactionResult>, feeRatioProvider: Provider<Double>)
fun callContract(userNameOrId: String, wif: String, assetId: String, feeAsset: String?, contractId: String, methodName: String, methodParams: List<InputValue>, value: String, broadcastCallback: Callback<Boolean>, resultCallback: Callback<String>?): Unit
fun callContract(userNameOrId: String, wif: String, assetId: String, feeAsset: String?, contractId: String, code: String, value: String, broadcastCallback: Callback<Boolean>, resultCallback: Callback<String>?): Unit
fun createContract(registrarNameOrId: String, wif: String, value: String, assetId: String, feeAsset: String?, byteCode: String, params: List<InputValue>, broadcastCallback: Callback<Boolean>, resultCallback: Callback<String>?): Unit
fun getContract(contractId: String, callback: Callback<ContractStruct>): Unit
fun getContractLogs(contractId: String, fromBlock: String, toBlock: String, callback: Callback<List<ContractLog>>): Unit
fun getContractResult(historyId: String, callback: Callback<ContractResult>): Unit
fun getContracts(contractIds: List<String>, callback: Callback<List<ContractInfo>>): Unit
fun queryContract(userNameOrId: String, assetId: String, amount: String, contractId: String, methodName: String, methodParams: List<InputValue>, callback: Callback<String>): Unit
fun queryContract(userNameOrId: String, assetId: String, amount: String, contractId: String, code: String, callback: Callback<String>): Unit
class ERC20SidechainFacadeImpl : BaseTransactionsFacade, ERC20SidechainFacade
Module Contents
ERC20SidechainFacadeImpl(databaseApiService: DatabaseApiService, networkBroadcastApiService: NetworkBroadcastApiService, cryptoCoreComponent: CryptoCoreComponent, notifiedTransactionsHelper: NotificationsHelper<TransactionResult>)
fun checkERC20Token(contractId: String, callback: Callback<Boolean>): Unit
fun erc20Withdraw(accountNameOrId: String, wif: String, ethAddress: String, ethTokenId: String, value: String, feeAsset: String, broadcastCallback: Callback<Boolean>, resultCallback: Callback<TransactionResult>?): Unit
fun getERC20AccountDeposits(accountNameOrId: String, callback: Callback<List<ERC20Deposit>>): Unit
fun getERC20AccountWithdrawals(accountNameOrId: String, callback: Callback<List<ERC20Withdrawal>>): Unit
fun getERC20Token(address: String, callback: Callback<ERC20Token>): Unit
fun registerERC20Token(accountNameOrId: String, wif: String, ethAddress: String, name: String, symbol: String, decimals: String, feeAsset: String, broadcastCallback: Callback<Boolean>, resultCallback: Callback<TransactionResult>?): Unit
class EthereumSidechainFacadeImpl : BaseTransactionsFacade, EthereumSidechainFacade
Module Contents
EthereumSidechainFacadeImpl(databaseApiService: DatabaseApiService, networkBroadcastApiService: NetworkBroadcastApiService, cryptoCoreComponent: CryptoCoreComponent, notifiedTransactionsHelper: NotificationsHelper<TransactionResult>)
fun ethWithdraw(accountNameOrId: String, wif: String, ethAddress: String, value: String, feeAsset: String, broadcastCallback: Callback<Boolean>, resultCallback: Callback<TransactionResult>?): Unit
fun generateEthereumAddress(accountNameOrId: String, wif: String, broadcastCallback: Callback<Boolean>, resultCallback: Callback<TransactionResult>?): Unit
fun getEthereumAddress(accountNameOrId: String, callback: Callback<EthAddress>): Unit
class FeeFacadeImpl : BaseTransactionsFacade, FeeFacade
Module Contents
FeeFacadeImpl(databaseApiService: DatabaseApiService, cryptoCoreComponent: CryptoCoreComponent, feeRatioProvider: Provider<Double>)
fun getFeeForContractCreateOperation(userNameOrId: String, amount: String, byteCode: String, assetId: String, feeAsset: String?, callback: Callback<AssetAmount>): Unit
fun getFeeForContractOperation(userNameOrId: String, contractId: String, amount: String, methodName: String, methodParams: List<InputValue>, assetId: String, feeAsset: String?, callback: Callback<ContractFee>): Unit
fun getFeeForContractOperation(userNameOrId: String, contractId: String, amount: String, code: String, assetId: String, feeAsset: String?, callback: Callback<ContractFee>): Unit
fun getFeeForTransferOperation(fromNameOrId: String, wif: String, toNameOrId: String, amount: String, asset: String, feeAsset: String?, callback: Callback<String>): Unit
class InformationFacadeImpl : InformationFacade
Module Contents
InformationFacadeImpl(databaseApiService: DatabaseApiService, accountHistoryApiService: AccountHistoryApiService)
fun checkAccountReserved(nameOrId: String, callback: Callback<Boolean>): Unit
fun getAccount(nameOrId: String, callback: Callback<FullAccount>): Unit
fun getAccountHistory(nameOrId: String, transactionStartId: String, transactionStopId: String, limit: Int, callback: Callback<HistoryResponse>): Unit
fun getAccountsByWif(wif: String, callback: Callback<List<FullAccount>>): Unit
fun getBalance(nameOrId: String, asset: String, callback: Callback<Balance>): Unit
fun getGlobalProperties(callback: Callback<GlobalProperties>): Unit
class InitializerFacadeImpl : InitializerFacade
class NotificationsHelper<T>
class SubscriptionFacadeImpl : SubscriptionFacade
Module Contents
SubscriptionFacadeImpl(socketCoreComponent: SocketCoreComponent, databaseApiService: DatabaseApiService, network: Network)
const val blockObjectId: String
const val METHOD_KEY: String
fun subscribeOnAccount(nameOrId: String, listener: AccountListener, callback: Callback<Boolean>): Unit
fun subscribeOnBlock(listener: UpdateListener<Block>, callback: Callback<Boolean>): Unit
fun subscribeOnBlockchainData(listener: UpdateListener<DynamicGlobalProperties>, callback: Callback<Boolean>): Unit
fun subscribeOnContractLogs(contractId: String, listener: UpdateListener<List<ContractLog>>, callback: Callback<Boolean>): Unit
fun subscribeOnContracts(contractIds: List<String>, listener: UpdateListener<Map<String, List<ContractBalance>>>, callback: Callback<Boolean>): Unit
fun unsubscribeAll(callback: Callback<Boolean>): Unit
fun unsubscribeFromAccount(nameOrId: String, callback: Callback<Boolean>): Unit
fun unsubscribeFromBlock(callback: Callback<Boolean>): Unit
fun unsubscribeFromBlockchainData(callback: Callback<Boolean>): Unit
fun unsubscribeFromContractLogs(contractId: String, callback: Callback<Boolean>): Unit
fun unsubscribeFromContracts(listener: UpdateListener<Map<String, List<ContractBalance>>>, callback: Callback<Boolean>): Unit
class TransactionsFacadeImpl : BaseTransactionsFacade, TransactionsFacade
package org.echo.mobile.framework.model
Module Contents
class Account : GrapheneObject, GrapheneSerializable
class AccountOptions : GrapheneSerializable
class Address
class Asset : GrapheneObject, ByteSerializable
class AssetAmount : GrapheneSerializable
class AssetOptions : JsonSerializable, ByteSerializable
data class Balance
abstract class BaseOperation : ByteSerializable, JsonSerializable
class BitassetOptions : GrapheneSerializable
class Block
Module Contents
Block(previous: String, round: String, timestamp: String, account: Account, delagate: Account, transactionMerkleRoot: String, rand: String, edSignature: String, transactions: List<Transaction>, vmRoot: List<String>, prevSignatures: List<PrevSignature>)
var account: Account
class BlockDeserializer : JsonDeserializer<Block>
var delagate: Account
var edSignature: String
var previous: String
var prevSignatures: List<PrevSignature>
var rand: String
var round: String
var timestamp: String
var transactionMerkleRoot: String
var transactions: List<Transaction>
var vmRoot: List<String>
class BlockData : ByteSerializable
data class BtcAddress
interface ByteSerializable
class CurrentFees
sealed class Deposit : GrapheneObject
data class DepositAddress
class DepositDeserializer : JsonDeserializer<Deposit>
class DepositMapper : ObjectMapper<Deposit>
class DynamicGlobalProperties : GrapheneObject, Serializable
class EchorandConfig
class ERC20Deposit : GrapheneObject
class Erc20DepositMapper : ObjectMapper<ERC20Deposit>
class ERC20Token : GrapheneObject, GrapheneSerializable
class Erc20TokenDeserializer : JsonDeserializer<ERC20Token>
class Erc20TokenMapper : ObjectMapper<ERC20Token>
class ERC20Withdrawal : GrapheneObject
class Erc20WithdrawalMapper : ObjectMapper<ERC20Withdrawal>
data class Error
data class ErrorData
data class EthAddress
class Extensions : GrapheneSerializable
class FeeParameter
class FeeParameters
class FullAccount
class GasPrice
class GlobalProperties
open class GrapheneObject : ByteSerializable
interface GrapheneSerializable : ByteSerializable, JsonSerializable
data class HistoricalTransfer
data class HistoryResponse
class HistoryResult
fun Account.isEqualsByKey(key: String): Boolean
interface JsonDeserializable<T> : Serializable
interface JsonSerializable : Serializable
class Method
enum class ObjectType
class Optional<T : GrapheneSerializable> : GrapheneSerializable
class Parameters
class PrevSignature
class Price : JsonSerializable, ByteSerializable
class PublicKey : Serializable, ByteSerializable
class RegistrationResult
data class RegistrationTask
class SidechainConfig
enum class SidechainType
open class SocketResponse
class SocketResponseResult<T> : SocketResponse
class Transaction : ByteSerializable, JsonSerializable
data class TransactionOperationsResult
data class TransactionResult
class Vote : ByteSerializable
sealed class Withdraw : GrapheneObject
class WithdrawDeserializer : JsonDeserializer<Withdraw>
class WithdrawMapper : ObjectMapper<Withdraw>
package org.echo.mobile.framework.model.contract
package org.echo.mobile.framework.model.contract.input
package org.echo.mobile.framework.model.contract.output
package org.echo.mobile.framework.model.eddsa
package org.echo.mobile.framework.model.network
package org.echo.mobile.framework.model.operations
package org.echo.mobile.framework.model.socketoperations
package org.echo.mobile.framework.service
Module Contents
interface AccountHistoryApiService : ApiService, CustomOperationService
interface AccountsService
Module Contents
abstract fun getAccountDeposits(accountId: String, sidechainType: SidechainType?, callback: Callback<List<Deposit?>>): Unit
abstract fun getAccountsByWif(wifs: List<String>, callback: Callback<Map<String, List<FullAccount>>>): Unit
abstract fun getAccountsByWif(wifs: List<String>): Result<LocalException, Map<String, List<FullAccount>>>
abstract fun getAccountWithdrawals(accountId: String, sidechainType: SidechainType?, callback: Callback<List<Withdraw?>>): Unit
abstract fun getBitcoinAddress(accountId: String, callback: Callback<BtcAddress>): Unit
abstract fun getEthereumAddress(accountId: String, callback: Callback<EthAddress>): Unit
abstract fun getFullAccounts(namesOrIds: List<String>, subscribe: Boolean, callback: Callback<Map<String, FullAccount>>): Unit
abstract fun getFullAccounts(namesOrIds: List<String>, subscribe: Boolean): Result<Exception, Map<String, FullAccount>>
interface AccountSubscriptionManager
interface ApiService
interface AssetsService
interface AuthorityAndValidationService
interface BlocksAndTransactionsService
interface BlockSubscriptionManager
interface ContractBalancesSubscriptionManager
interface ContractsService
Module Contents
abstract fun callContractNoChangingState(contractId: String, registrarNameOrId: String, assetId: String, amount: String, byteCode: String): Result<LocalException, String>
abstract fun getContract(contractId: String): Result<LocalException, ContractStruct>
abstract fun getContractLogs(contractId: String, fromBlock: String, toBlock: String): Result<LocalException, List<ContractLog>>
abstract fun getContractResult(historyId: String): Result<LocalException, ContractResult>
abstract fun getContracts(contractIds: List<String>): Result<LocalException, List<ContractInfo>>
interface ContractSubscriptionManager
interface CryptoApiService : ApiService, CustomOperationService
interface CurrentBlockchainDataSubscriptionManager
interface CustomOperationService
interface DatabaseApiService : ApiService, AccountsService, GlobalsService, AuthorityAndValidationService, BlocksAndTransactionsService, ContractsService, AssetsService, SubscriptionService, ObjectsService, CustomOperationService, SidechainService
interface GlobalsService
interface LoginApiService : ApiService, CustomOperationService
interface NetworkBroadcastApiService : ApiService, TransactionsService, CustomOperationService
interface NotifiedSubscriptionManager<T>
interface ObjectsService
interface RegistrationApiService : ApiService
interface RegistrationSubscriptionManager : NotifiedSubscriptionManager<RegistrationResult>
interface SidechainService
Module Contents
abstract fun checkERC20Token(contractId: String, callback: Callback<Boolean>): Unit
abstract fun getAccountDeposits(accountId: String, sidechainType: SidechainType?, callback: Callback<List<Deposit?>>): Unit
abstract fun getAccountWithdrawals(accountId: String, sidechainType: SidechainType?, callback: Callback<List<Withdraw?>>): Unit
abstract fun getBitcoinAddress(accountId: String, callback: Callback<BtcAddress>): Unit
abstract fun getERC20AccountDeposits(accountNameOrId: String, callback: Callback<List<ERC20Deposit>>): Unit
abstract fun getERC20AccountWithdrawals(accountNameOrId: String, callback: Callback<List<ERC20Withdrawal>>): Unit
abstract fun getERC20Token(address: String, callback: Callback<ERC20Token>): Unit
abstract fun getERC20Token(address: String): Result<LocalException, ERC20Token>
abstract fun getEthereumAddress(accountId: String, callback: Callback<EthAddress>): Unit
interface SubscriptionService
interface TransactionsService
interface TransactionSubscriptionManager : NotifiedSubscriptionManager<TransactionResult>
interface UpdateListener<T>
package org.echo.mobile.framework.service.internal
Module Contents
class AccountHistoryApiServiceImpl : AccountHistoryApiService
Module Contents
AccountHistoryApiServiceImpl(socketCoreComponent: SocketCoreComponent, network: Network)
fun <T> callCustomOperation(operation: CustomOperation<T>, callback: Callback<T>): Unit
fun <T> callCustomOperation(operation: CustomOperation<T>): Result<LocalException, T>
fun getAccountHistory(accountId: String, start: String, stop: String, limit: Int, callback: Callback<HistoryResponse>): Unit
fun getAccountHistory(accountId: String, start: String, stop: String, limit: Int): Result<Exception, HistoryResponse>
var id: Int
class CryptoApiServiceImpl : CryptoApiService
class DatabaseApiServiceImpl : DatabaseApiService
Module Contents
DatabaseApiServiceImpl(socketCoreComponent: SocketCoreComponent, cryptoCoreComponent: CryptoCoreComponent, network: Network)
fun callContractNoChangingState(contractId: String, registrarNameOrId: String, assetId: String, amount: String, byteCode: String): Result<LocalException, String>
fun <T> callCustomOperation(operation: CustomOperation<T>, callback: Callback<T>): Unit
fun <T> callCustomOperation(operation: CustomOperation<T>): Result<LocalException, T>
fun checkERC20Token(contractId: String, callback: Callback<Boolean>): Unit
fun getAccountDeposits(accountId: String, sidechainType: SidechainType?, callback: Callback<List<Deposit?>>): Unit
fun getAccountsByWif(wifs: List<String>, callback: Callback<Map<String, List<FullAccount>>>): Unit
fun getAccountsByWif(wifs: List<String>): Result<LocalException, Map<String, List<FullAccount>>>
fun getAccountWithdrawals(accountId: String, sidechainType: SidechainType?, callback: Callback<List<Withdraw?>>): Unit
fun getAssets(assetIds: List<String>): Result<LocalException, List<Asset>>
fun getAssets(assetIds: List<String>, callback: Callback<List<Asset>>): Unit
fun getBitcoinAddress(accountId: String, callback: Callback<BtcAddress>): Unit
fun getBlock(blockNumber: String): Result<LocalException, Block>
fun getBlock(blockNumber: String, callback: Callback<Block>): Unit
fun getBlockData(): BlockData
fun getBlockData(callback: Callback<BlockData>): Unit
fun getChainId(): Result<Exception, String>
fun getChainId(callback: Callback<String>): Unit
fun getContract(contractId: String): Result<LocalException, ContractStruct>
fun getContractLogs(contractId: String, fromBlock: String, toBlock: String): Result<LocalException, List<ContractLog>>
fun getContractResult(historyId: String): Result<LocalException, ContractResult>
fun getContracts(contractIds: List<String>): Result<LocalException, List<ContractInfo>>
fun getDynamicGlobalProperties(): Result<Exception, DynamicGlobalProperties>
fun getDynamicGlobalProperties(callback: Callback<DynamicGlobalProperties>): Unit
fun getERC20AccountDeposits(accountNameOrId: String, callback: Callback<List<ERC20Deposit>>): Unit
fun getERC20AccountWithdrawals(accountNameOrId: String, callback: Callback<List<ERC20Withdrawal>>): Unit
fun getERC20Token(address: String, callback: Callback<ERC20Token>): Unit
fun getERC20Token(address: String): Result<LocalException, ERC20Token>
fun getEthereumAddress(accountId: String, callback: Callback<EthAddress>): Unit
fun getFullAccounts(namesOrIds: List<String>, subscribe: Boolean, callback: Callback<Map<String, FullAccount>>): Unit
fun getFullAccounts(namesOrIds: List<String>, subscribe: Boolean): Result<LocalException, Map<String, FullAccount>>
fun getGlobalProperties(callback: Callback<GlobalProperties>): Unit
fun <T : GrapheneObject> getObjects(ids: List<String>, mapper: ObjectMapper<T>): Result<Exception, List<T>>
fun getRequiredContractFees(operations: List<BaseOperation>, asset: Asset): Result<Exception, List<ContractFee>>
fun getRequiredFees(operations: List<BaseOperation>, asset: Asset): Result<Exception, List<AssetAmount>>
var id: Int
fun listAssets(lowerBound: String, limit: Int, callback: Callback<List<Asset>>): Unit
fun lookupAssetsSymbols(symbolsOrIds: List<String>, callback: Callback<List<Asset>>): Unit
fun lookupAssetsSymbols(symbolsOrIds: List<String>): Result<LocalException, List<Asset>>
fun subscribe(clearFilter: Boolean, callback: Callback<Boolean>): Unit
fun subscribeContractLogs(contractId: String): Result<LocalException, Boolean>
fun subscribeContracts(contractIds: List<String>): Result<LocalException, Boolean>
fun unsubscribe(callback: Callback<Boolean>): Unit
class LoginApiServiceImpl : LoginApiService
class NetworkBroadcastApiServiceImpl : NetworkBroadcastApiService
class RegistrationApiServiceImpl : RegistrationApiService
package org.echo.mobile.framework.service.internal.subscription
package org.echo.mobile.framework.support
Module Contents
enum class Api
infix fun <E, V, V2> Result<E, (V) -> V2>.apply(f: Result<E, V>): Result<E, V2>
fun checkFalse(target: Boolean, errorMessage: String): Unit
fun checkNotNull(target: Any?, errorMessage: String): Unit
fun checkTrue(target: Boolean, errorMessage: String): Unit
interface Converter<I, O>
fun <E, V> Result<E, V>.dematerialize(): V
class EmptyCallback<T> : Callback<T>
inline fun <E, V> Result<E, V>.error(e: (E) -> Unit): Result<E, V>
object EthAddressValidator
class FeeRatioProvider : Provider<Double>
infix inline fun <E, V, V2> Result<E, V>.flatMap(f: (V) -> Result<E, V2>): Result<E, V2>
inline fun <E, V, A> Result<E, V>.fold(v: (V) -> A, e: (E) -> A): A
object Int64 : IntType
interface IntType
java.util.Date
kotlin.Array
kotlin.Boolean
kotlin.ByteArray
kotlin.collections.Map
kotlin.collections.Set
kotlin.Long
kotlin.String
infix inline fun <E, V, V2> Result<E, V>.map(f: (V) -> V2): Result<E, V2>
infix inline fun <E, E2, V> Result<E, V>.mapError(f: (E) -> E2): Result<E2, V>
interface Provider<T>
sealed class Result<out E, out V>
class Settings
fun <E> E.toError(): Result<E, Nothing>
fun <V> V.toValue(): Result<Nothing, V>
object Uint16 : IntType
object Uint32 : IntType
object Uint8 : IntType
inline fun <E, V> Result<E, V>.value(v: (V) -> Unit): Result<E, V>
package org.echo.mobile.framework.support.concurrent
package org.echo.mobile.framework.support.concurrent.future
Module Contents
interface Cancellable
interface CancellableFuture<T> : Cancellable, Future<T>
open class CancellableTask : Cancellable
fun <T> FutureTask<T>.completeCallback(successBlock: (T) -> Unit = {}, errorBlock: (LocalException) -> Unit = {}): Callback<T>
interface FutureCallback<T>
class FutureTask<T> : CancellableTask, CancellableFuture<T>
fun <E, T> FutureTask<T>.wrapResult(): Result<E, T>
fun <E, T> FutureTask<T>.wrapResult(timeout: Long, unit: TimeUnit): Result<E, T>
fun <E, T> FutureTask<T>.wrapResult(default: T): Result<E, T>
package org.echo.mobile.framework.support.crypto
package org.echo.mobile.nacl